package com.jieyang.oa.controller.login;

import jdk.nashorn.internal.objects.annotations.Constructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author 29276
 * @version 1.0
 * @description: TODO
 * @date 2021/8/14 13:49
 */
@Controller
public class helloController {

//    @ResponseBody
    @GetMapping("/hello")
    String hello(HttpServletRequest req, HttpServletResponse resp) {
        System.out.println("jinri");
        return "login";
    }
}
